package com.lanswon.qzsmk.dao;

import org.springframework.stereotype.Repository;

import com.lanswon.qzsmk.model.PaperType;

@Repository
public interface PaperTypeMapper {

	/**
	 * 根据证件代码查询证件定义
	 * @param paperNo 证件类型代码
	 * @return
	 */
	PaperType queryPaperTypeByCode(String paperTypeCode);
	
	/**
	 * 根据证件名称查询证件定义
	 * @param paperName 证件名称
	 * @return
	 */
	PaperType queryPaperTypeByPaperName(String paperName);
}